
<?php


//$id_apoteker=$_POST['id_apoteker'];
 $nama=$_POST['nama'];
 $username=$_POST['username'];

 $password=sha1($_POST['password']);
$level=$_POST['level'];
//print $nama." ".$username;
	
	
$insert=dbQuery("insert into apoteker(nama_apoteker,username,password,level) values('$nama','$username','$password','$level')")or die(mysql_error());
		if($insert){
	?>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3" class="judul">&#187 Konfirmasi Input Data Apoteker</td></tr>
	<tr><td colspan="3" class="jarak_garis"><hr color="#6d6a69"></hr></td></tr>
	<tr><td colspan="3" class="suskes" align="center">Selamat Anda Sukses inputkan data Apoteker</td></tr>
	<tr><td colspan="3"><div id="pagging" align="center"><a href="index_admin.php?index=manage_apoteker&cryption=<?php print $random."upn".$santra.$encode; ?>">[Kembali]</a></div></td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
<?php }else{
?>
<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3" class="judul">&#187 Konfirmasi Input Data Apoteker</td></tr>
	<tr><td colspan="3" class="jarak_garis"><hr color="#6d6a69"></hr></td></tr>
	<tr><td colspan="3" class="suskes" align="center">Maaf Anda Gagal inputkan Data,coba ulangi verifikasi data yang anda inputkan</td></tr>
	<tr><td colspan="3"><div id="pagging" align="center"><a href="index_admin.php?index=input_apoteker&cryption=<?php print $random."upn".$santra.$encode; ?>">[Kembali]</a></td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
	<tr><td colspan="3">&nbsp;</td></tr>
<?php  }



?>
